package cn.bugstack.springframework.test.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: LI
 * @Date: Created in 21:05 2022/7/21
 */
public class UserDao {
    private static Map<String, String> map = new HashMap<>();

    static {
        map.put("10001", "刘顺备");
        map.put("10002", "关顺羽");
        map.put("10003", "张顺飞");
    }

    public String queryUserName(String uid) {
        return map.get(uid);
    }
}
